package com.hx.er.dao;

import java.util.List;
import java.util.Map;

import com.hx.er.bean.base.AnnouncementBean;
import com.hx.er.bean.base.MessageBean;
import com.hx.er.bean.detail.MessageDetailBean;

public interface IContactDao {
	public AnnouncementBean getAnnAliveByRestId(long restId);

	public AnnouncementBean getAnnAlive(AnnouncementBean announcementBean);

	public void insertAnnWithoutId(AnnouncementBean announcementBean);

	public int updateAnn(AnnouncementBean announcementBean);

	public int deleteAnn(AnnouncementBean announcementBean);

	public List<MessageDetailBean> getMsgDetailAliveList(Map<String, Object> conditions);

	public int getMsgDetailAliveCount(Map<String, Object> conditions);

	public MessageDetailBean getMsgDetailAliveById(long msgId);

	public void insertMsgWithoutId(MessageBean msgBean);

	public int ignoreMsg(MessageBean msgBean);

	public int updateMsg(MessageBean msgBean);

	public int reviveMsg(MessageBean msgBean);

	public int replyMsg(MessageBean msgBean);

	public List<Map<Integer, Integer>> getFlowStatusCount(Map<String, String> conditions);
}
